<?php

echo "\n********A basic user profile call********</br>";

$api_url = "https://api.linkedin.com/v1/people/~";
$oauth->fetch($api_url, null, OAUTH_HTTP_METHOD_GET);
$response = $oauth->getLastResponse(); // just a sample of how you would get the response
print_response($oauth);

?>